{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
<!---------------------------------网页头------------------------------>
{% block title %}
Register
{% endblock %}
<!---------------------------------网页主体------------------------------>
{% block content %}
<div class="container">
    <div class="row">
        <div class="col-sm-offset-4 col-sm-4">
           <span class="heading"><h1>用户注册</h1></span>
            <form class="form-horizontal" method="post">
                <div class="form-group">
                       {{form.hidden_tag()}}
                </div>
                <div class="form-group">
                    {{wtf.form_field(form.name)}}
                </div>
                <div class="form-group">
                    {{wtf.form_field(form.passwd)}}
                </div>
                <div class="form-group">
                    {{wtf.form_field(form.confirm)}}
                </div>
                <div class="form-group">
                    {{wtf.form_field(form.submit)}}
                </div>
            </form>
        </div>
    </div>
</div>
{% endblock %}